package ucm;

import model.User;

/**
 * UCEditManager
 *
 * Primary Actor: User
 * Goal: Edit Manager
 * Precondition: Connected to database. User exists on database. User is not logged in.
 * Postcondition: Manager password is updated in database
 *
 * @author Tobias Robinson
 */
public class UCEditManager {

    public UCEditManager() {
        run();
    }

    /**
     * 1. Actor selects Edit Manager.
     * 2. The system requests the actor to enter manager name password and new password.
     * 4. System verifies user input.
     * 5. System updates manager password in database.
     * 6. System the user of password change.
     */
    public void run() {
        User.loadEditUserView("man");
    }
}
